package pkg

import (
	"fmt"
	"gin-user/config"

	"github.com/Baidu-AIP/golang-sdk/aip/censor"
)

func CheckText(string) {
	yun := config.AppConf.BaiDuYun
	client := censor.NewClient(yun.Sk, yun.Ak)
	res := client.TextCensor("骚逼")
	fmt.Println(res)
	var t T
	t.ConclusionType = 1
}

type T struct {
	ConclusionType int
}
